package com.smart_environmental_protection.dao;

import com.smart_environmental_protection.pojo.Content;
import com.smart_environmental_protection.pojo.Cpnlist;
import com.smart_environmental_protection.pojo.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CpnlistDao {
    @Select({"select * from s_cpnlist"})
    List<Cpnlist> CList ();
    @Select({"select * from s_cpnlist where id=#{id}"})
    Cpnlist getCpnById(Integer id);

}
